﻿@model SmallJob.Model.Banner
@{
    ViewBag.Title = "Details";
    Layout = "~/Views/Shared/_Layout.cshtml";
}


<div class="fileupload-preview thumbnail" style="position: absolute; z-index: 1;width: 1350px; height: 430px; line-height: 150px;">
    <img src="@Model.Url" />
</div>

<div id="input-area" style="position: absolute; padding-left: 5px; padding-top: 5px; color: blue; width: 1350px; height: 430px; z-index: 2;">
    <label>Title:</label>
    <span>@Model.Title</span>
    <label>Link:</label>
    @if (string.IsNullOrWhiteSpace(@Model.Link))
    {
        <span>No Link</span>
    }else{
         <span>@Model.Link</span>
    }
    <label>Description:</label>
   @if (string.IsNullOrWhiteSpace(@Model.Description))
    {
        <span>No Description</span>
    }else{
         <p>@Model.Description</p>
    }
    <br />
    <br />
    <br />
    <div>
        @Html.ActionLink("Back to List", "Index")
    </div>
</div>


